package com.wsoft.portal.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 空间类型
 * </p>
 *
 * @author Z001
 * @since 2024年12月27日 10:01:32
 */
@Getter
@Setter
@TableName("portal_org_member")
@Schema(name = "PortalOrgMemberEntity", description = "空间类型")
public class PortalOrgMemberEntity extends BaseEntity {

    @Schema(description = "主题id")
    @TableField("theme_id")
    private Long themeId;

    @Schema(description = "排序")
    @TableField("sort")
    private Integer sort;

    @Schema(description = "组织")
    @TableField("org_id")
    private Long orgId;

    @Schema(description = "用户")
    @TableField("member_id")
    private Long memberId;

    @Schema(description = "是否继承父级")
    @TableField("extend_parent")
    private Integer extendParent;

    @Schema(description = "父portalId")
    @TableField("parent_portal_id")
    private Long parentPortalId;
}
